package com.silverbox.shopper.mapper;

import java.util.List;

import com.silverbox.shopper.entity.ShopperConfig;
import org.apache.ibatis.annotations.Param;

public interface ShopperConfigMapper {
	int deleteByPrimaryKey(Integer id);

	int insert(ShopperConfig record);

	int insertSelective(ShopperConfig record);

	ShopperConfig selectByPrimaryKey(Integer id);

	int updateByPrimaryKeySelective(ShopperConfig record);

	int updateByPrimaryKey(ShopperConfig record);

	/**
	 * 查询店铺配置
	 * 
	 * @param shopperConfig
	 * @return
	 */
	List<ShopperConfig> getShopperConfig(ShopperConfig shopperConfig);

    double findShopperBagPrice(@Param("storeId") Integer storeId);

}